%Image Processing Assignment - 1
%Name: - Kirtish Dhande
%Class: - B.E. - C
%Roll no: - 54
% This is the program to brighten up a grayscale image.
%Date of assignment - 12/01/2016

%Variables declared -
% A - used to access original image.
% B - used to work on resultant image.

clc;
clear all;
close all;

%This stores the pixel values of images in A.
A = imread('cameraman.tif');

%Displays the image in A.
imshow(A)
title('Original Image');

%Here A is converted to double to do arithmetic operation and stored in B.
%Then we increase the intensity values of B.
B = double(A);
B = B + 100;

%Displays the image in B as well as previous image A.
figure, imshow(uint8(B));
title('New Image');
